package com.own.core.util;

import com.own.util.ResourceUtil;

public enum Action {
	ALL,LIST,CREATE,UPDATE,DELETE,SEARCH,ADVANCED_SEARCH,APPROVE,PENDING,DISAPPROVE,COPY,CUT,IMPORT,EXPORT;
	public String getDisplayName() {
		String s = toString();
		String className=this.getClass().getSimpleName();
		return ResourceUtil
				.getResource(className + "." +s.toLowerCase()).getObject().toString();
		
		
	}

}
